package com.firebird.app.fekpsl.mvp.sword.rank

import com.firebird.app.fekpsl.base.BasePresenter
import com.firebird.app.fekpsl.ext.ss

/**
 * Created by firebird on 2018/4/21.
 */
class LevelScoreFriendRankPresenter : BasePresenter<LevelScoreFriendRankContract.Model, LevelScoreFriendRankContract.View>(), LevelScoreFriendRankContract.Presenter {

    override fun createModel(): LevelScoreFriendRankContract.Model? = LevelScoreFriendRankModel()

    override fun getLevelScoreFriendRankList(pageNo: Int,userUuid:String) {
        mModel?.getLevelScoreFriendRankList(pageNo,userUuid)?.ss(mModel, mView) {
            mView?.showLevelScoreFriendRankList(it.data)
        }
    }

}